﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace IceCS.SqlSugar.Cmd.Models
{
    [SugarTable("Students")]
    public class Students
    {
        /// <summary>
        /// 如果是主键，此处必须指定，否则会引发InSingle(id)方法异常。     
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string StudentName { get; set; }
        public string ClassName { get; set; }
        public int Age { get; set; }
        public DateTime Time { get; set; }
        public int SchoolId { get; set; }
    }
}
